<?php
//微信分享页面的

//微信
Route::group(['prefix' => 'wx-api'], function () {
    Route::any('share/info/{id}', 'Api\V4\UsersChangeController@info')->middleware('wxInfo');
    Route::any('user/user_info', 'Api\V4\ShareController@user_info');
    Route::any('wxUserAddComment', 'Api\V4\ShareController@wxUserAddComment');
    Route::any('wxUserInfoCallBack', '\App\Repository\wxUserInfoCallBack@getUserInfo');

    Route::get('/a', function () {
        dump(session('wxCallBackUserInfo'));
    })->middleware('getWxUserInfo');
});